#ifndef WORK_CARGO_H
#define WORK_CARGO_H

#include <QDialog>
#include <QSqlDatabase>
#include <QSqlTableModel>
#include "calculation.h"

namespace Ui {
class work_cargo;
}

class work_cargo : public QDialog
{
    Q_OBJECT
    
public:
    explicit work_cargo(QWidget *parent = 0);
    ~work_cargo();
//    quint16 netto;
//    quint16 count_axis;
//    quint16 area;
//    quint16 lenght;
    st_cargo cargo;
    Ui::work_cargo *ui;
    void SetData(void);
    void SetActive(void);

private:
    QSqlTableModel *model_area;

private slots:
    void GetData(void);
};

#endif // WORK_CARGO_H
